<?php
namespace PsiFramework\Classes\Util\Database\Query;

import("Classes.Util.Database.Query.SqlJoinClause");

use \PsiFramework\Classes\Util\Database\Query\SqlJoinClause;
use \PsiFramework\Classes\Util\Database\Query\SqlOperation;

/**
 * PsiFramework
 * Php Simple Framework
 *
 * @author Rémi San
 * @version beta
 */

/**
 * The SqlOn class allows to represent a sql join on clause
 *
 * @package classes.util.xpersist.sql
 */
class SqlOn extends SqlJoinClause
{

    protected /*SqlOperation*/ $_operation ;

    public function __construct(SqlOperation $operation=null)
    {
        $this->_operation = $operation ;
    }

    public function getOperation()
    {
        return $this->_operation ;
    }

    public function setOperation(SqlOperation $operation)
    {
        $this->_operation =  $operation;
    }
}

